<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/26/14
 * Time: 12:24 PM
 */
header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Disposition: attachment; filename= reference.pdf");
header("Content-Transfer-Encoding: binary");
readfile("docs/reference.pdf");